package com.hxk.di.service;

import com.hxk.di.dao.BookDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BookService {

    private String flag = "flag1";

    @Autowired
    private BookDao bookDao;

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "BookService{" +
                "flag='" + flag + '\'' +
                ", bookDao=" + bookDao +
                '}';
    }
}
